package com.ftg.learn.assess.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Schema(description = "用户端追加评价传递的数据模型")
public class UserAdditionalDto {
    @TableField("evaluation_id")
    @Schema(description = "评价id")
    Long evaluationId;

    @TableField("content")
    @Schema(description = "评价内容")
    String content;

    @TableField("rating")
    @Schema(description = "评分")
    Integer rating;

    @TableField("create_time")
    @Schema(description = "创建时间")
    LocalDateTime createTime;

    @Schema(description = "文件访问URL")
    private List<String> urls;

    @Schema(description = "文件类型（image/video）")
    private List<Integer> types;
}
